package com.das.mechanic_base.gen;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class WorkProcessEntityBean {

    @Id(autoincrement = true)
    private Long id;

    public String workKey;

    @Convert(columnType = String.class,converter = WorkProcessEntityConverter.class)
    public List<WorkProcessEntity> entityList;

    public List<WorkProcessEntity> getEntityList() {
        return this.entityList;
    }

    public void setEntityList(List<WorkProcessEntity> entityList) {
        this.entityList = entityList;
    }

    public String getWorkKey() {
        return this.workKey;
    }

    public void setWorkKey(String workKey) {
        this.workKey = workKey;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Generated(hash = 1946171543)
    public WorkProcessEntityBean(Long id, String workKey,
            List<WorkProcessEntity> entityList) {
        this.id = id;
        this.workKey = workKey;
        this.entityList = entityList;
    }

    @Generated(hash = 987951541)
    public WorkProcessEntityBean() {
    }

}
